*{
    margin: 0;
    padding: 0;/*把一个容器设置外边距和内边距为0*/
}
body{
    display: flex;
    margin-left: 35%;
    min-height: 100vh;
    background: linear-gradient(green, lightgreen);
}
.bamboo-1,.bamboo-2,.bamboo-3,.bamboo-4,.bamboo-5,.bamboo-6,.bamboo-7{
    width: 30px;
    min-height: 70vh;
    background-image: linear-gradient(90deg,#418c47,#54ab5b);
    box-shadow: 0 0 20px inset #3f432f;
    filter: blur(0.8px);
    position: relative;/*相对位置竹节定位*/
}
.line-1,
.line-2,
.line-3,
.line-4,
.line-5{
    width: 100%;
    height: 3px;
    background: #ebebe4;
    filter: blur(0.5px);
    box-shadow: 0 0 2px 0 #3f423f;
    border-bottom: 1px solid #000;
    position: absolute;
}
.line-1{
    top: 10%;
}
.line-2{
    top: 33%;
}
.line-3{
    top: 58%;
}
.line-4{
    top: 79%;
}
.line-5{
    top: 96%;
}
.bamboo-1{
    transform: skewX(-2deg);
}
.bamboo-2{
    z-index: 1;
    transform: scaleY(-1);/*缩放*/
}
.bamboo-3{
    margin-left: 20px;
    z-index: 0;
}
.bamboo-4{
    margin-left: 36%;
    transform: skewX(5deg);
}
.bamboo-5{
    z-index: 1;
    transform: skewY(-1);
    transform: scaleY(-1); 
}
.bamboo-7{
    transform: scaleY(-1) skewX(-2deg);
}
.bamboo-6{
    z-index: 2;
    margin-left: 20px;
}
.panda{
    display: flex;
    flex-direction: column;
    align-items:center ;
    position: fixed;
    bottom: 0;
    left: 56%;
    transform: translateX(-50%);
}
.head{
    height: 140px;
    width: 150px;
    border-radius: 70% 70% 55% 55% / 80% 80% 59% 59%;
    background:white;
    position: absolute;
    margin-top: 0;
}
#eyes{
    position: absolute;
    top: 24%;
    width: 60px;
    height: 60px;
    border-radius: 75% 50% 70% 50% / 72% 50% 75% 50%;
    background:#000 ;
    z-index: 2;
}
.left-eye{
    left: 7%;
    transform: rotate(-10deg);
}
.left-eye::before{
    content: "";
    width: 18px;
    height: 25px;
    background: #fff;
    position: absolute;
    left: 55%;
    top: 20%;
    border-radius: 50%;
    animation: eyes-blink 2s infinite;
}
.right-eye{
    right: 7%;
    transform: scaleX(-1) rotate(-10deg);
}
.right-eye::before{
    content: "";
    width: 18px;
    height: 25px;
    background: #fff;
    position: absolute;
    left: 55%;
    top: 20%;
    border-radius: 50%;
    animation: eyes-blink 2s infinite;
}
#ears{
    position: absolute;
    width: 55px;
    height: 55px;
    border-radius:50px ;
    background: #373a3c;
    box-shadow: 0 0 0 10px #000;
    z-index: -1;
}
.left-ear{
    left: -5px;
}
.right-ear{
    right: -5px;
}
#nose{
    width: 24px;
    height: 12px;
    background: #000;
    position: absolute;
    top: 60%;
    left: 42%;
}
#lips{
    width: 20px;
    height: 20px;
    border: 4px solid #000;
    border-radius: 0 0 0 20px;
    border-right: none;
    border-top:none;
    position: absolute;
    top: 64%;
    background: #fff;
    z-index: 1;

}
.left-lip{
    left: 33%;
    transform:scaleX(-1) rotate(-30deg) ;
}
.right-lip{
    right: 33%;
    transform: rotate(-30deg) ;
}
#mouch{
    height: 30px;
    width: 30px;
    background: #000;
    position: absolute;
    top: 62%;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    overflow: hidden;
    animation: chewing 2s infinite;
}
#tongue{
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #ed7770;
    position: absolute;
    top: 70%;
    left: 43%;
}
.body{
    height: 180px;
    width: 170px;
    background: linear-gradient(#000 45%, 0,#fff);
    border-radius: 100% 100% 82% 80% / 100% 100% 100% 100%;
    position: relative;
    margin-top: 58%;
}
.left-hand{
    position: absolute;
    width: 50px;
    height: 125px;
    background: #000;
    border-radius: 100% 0% 80% 80% / 100% 17% 76% 80%;
    top: 0px;
    left: -20px;
    transform: rotate(40deg);
}
.right-hand{
    position: absolute;
    width: 50px;
    height: 165px;
    background: #000;
    border-radius: 100% 0% 80% 80% / 100% 17% 76% 80%;
    right: -18px;
    top: -40px;
    transform: scale(-1,-1) rotate(30deg);
    animation: waving 1s infinite;
    transform-origin:20px 80px ;
    z-index: -1;
}
#legs{
    position: absolute;
    height: 80px;
    width: 60px;
    border-radius: 50%;
    background: black;
    bottom: -14px;
}
.left-leg{
    transform: rotate(-40deg);
}
.right-leg{
    right: 0;
    transform: rotate(40deg);
}
.left-leg::before,
.right-leg::before{
    position: absolute;
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #373a3c;
    top: 18%;
    box-shadow: 15px 10px #373a3c,-15px 10px #373a3c,0 30px 0 8px #373a3c;
}
.left-leg::before{
    left: 40%;
}
.right-leg::before{
    right: 40%;
    transform: rotate(-1deg);
}
@keyframes chewing{
    0%{
        height: 30px;
    }
    50%{
        height: 12px;
    }
    100%{
        height: 30px;
    }
}
@keyframes eyes-blink{
    0%,
    100%{
        transform: scale(1,0.05);
    }
    5%,
    95%{
        transform: scale(1,1);
    }
}
@keyframes waving{
    0%{
        transform: scale(-1,-1) rotate(40deg);
    }
    50%{
        transform: scale(-1,-1) rotate(55deg);
    }
    100%{
        transform: scale(-1,-1) rotate(40deg);
    }
}